package com.jy.rhin.model.body.xinshenger;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

@Data
public class ChuangJianZ {

    //本次访视日期
    @XPath(path = "/time/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_024_00))
    String fangShiRQ;

    //随访医生
    @XPath(path = "/assignedAuthor/assignedPerson/name/text()" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String suiFangYSXM;

    @XPath(path = "/assignedAuthor/representedOrganization/id/@extension")
    String hospitalId;


    @XPath(path = "/assignedAuthor/representedOrganization/name/text()")
    String hospitalName;

    //机构地址
    @XPath(path = "/assignedAuthor/representedOrganization/addr/text()")
    String hospitalAdress;

    @XPath(path = "/assignedAuthor/id/@extension")
    String chuanJianZId;
    
}
